<div type="404" style="min-height: 500px; height: 80%;" class="exception">
	<div class="exception__img-block">
		<ng-container *ngIf="type=== '404'">
			<div class="exception__img"
				style="background-image: url(https://gw.alipayobjects.com/zos/rmsportal/KpnpchXsobRgLElEozzI.svg);">
			</div>
		</ng-container>

		<ng-container *ngIf="type=== '403'">
			<div class="exception__img"
				style="background-image: url('https://gw.alipayobjects.com/zos/rmsportal/wZcnGqRDyhPOEYFcZDnb.svg');">
			</div>
		</ng-container>


	</div>
	<div class="exception__cont">
		<h1 class="exception__cont-title">{{type}}</h1>
		<div class="exception__cont-desc">
			{{type === '403' ? (text ? text :' 抱歉，你无权访问该页面') : ''}}
			{{type === '404' ? (text ? text : '抱歉，你访问的页面不存在') : ''}}
		</div>

		<div class="exception__cont-actions">
			<div></div>
			<!-- <button nz-button="" class="ant-btn ant-btn-primary ng-star-inserted">
				<span class="ng-star-inserted">返回首页</span>
			</button> -->
			<button *ngIf="isBtn" nz-button nzType="primary" (click)="goHome()">返回首页</button>
		</div>
	</div>
</div>